chore: add jgit spans inside resourceClosure#39737
Conversation
WalkthroughThe pull request introduces enhanced observability across various Git handlers and executors. Constructors in both standard and CE implementations now require an Changes
Sequence Diagram(s)sequenceDiagram
participant Client as Git Client
participant Handler as Git Handler (CE)
participant Obs as ObservationHelper
Client->>Handler: Trigger Git Operation (e.g., commitArtifact)
Handler->>Obs: createSpan("Operation Span")
Handler->>Handler: Execute Git Operation
Handler->>Obs: span.end()
Handler->>Client: Return Result
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (5)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (35)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Failed server tests
|
## Description Add jgit spans inside resourceClosure to verify if it is same as the parent span. Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="@tag.Git" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13892637993> > Commit: 923c9ab > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13892637993&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Git` > Spec: > <hr>Mon, 17 Mar 2025 06:50:49 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced monitoring and observability for Git operations now provide improved performance insights and reliability. - Expanded tracking across version control activities delivers more precise diagnostics and smoother troubleshooting, resulting in a more stable and efficient Git experience for users. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Description
Add jgit spans inside resourceClosure to verify if it is same as the parent span.
Fixes #
Issue Numberor
Fixes
Issue URLWarning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.Git"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13892637993
Commit: 923c9ab
Cypress dashboard.
Tags:
@tag.GitSpec:
Mon, 17 Mar 2025 06:50:49 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit